package com.my.blog.website.dto;

import com.my.blog.website.modal.Vo.UserVo;

/**
 * @author geng
 * @title: UserDto
 * @projectName my-blog
 * @description: TODO
 * @date 2020/1/12 -- 22:19
 */
public class UserDto extends UserVo {
    private long cnt;

    public UserDto(UserVo userVo) {
        this.setUid(userVo.getUid());
        this.setActivated(userVo.getActivated());
        this.setCreated(userVo.getCreated());
        this.setEmail(userVo.getEmail());
        this.setGroupName(userVo.getGroupName());
        this.setHomeUrl(userVo.getHomeUrl());
        this.setLogged(userVo.getLogged());
        this.setPassword(userVo.getPassword());
        this.setScreenName(userVo.getScreenName());
        this.setUsername(userVo.getUsername());
    }

    public long getCnt() {
        return cnt;
    }

    public void setCnt(long cnt) {
        this.cnt = cnt;
    }
}
